package com.sven.cloudconsumer;

import com.sven.cloudcommons.JsonResult;
import org.springframework.stereotype.Component;

@Component
public class FeignServiceImpl implements OpenFeignService{
    @Override
    public JsonResult<String> msbSql(Long id) {
        return new JsonResult<>(444,"服务降级返回！");
    }

    @Override
    public String timeOut() {
        return "服务降级返回";
    }
}